/* stylelint-disable */
@prefixCls: ~"c7ncd-templates-selector";

.@{prefixCls} {
  display: flex;
  border-top: 1px solid var(--divider);
  flex: 1;
  overflow: hidden;

  &-menu {
    padding: 18px 0 18px 23px;
    display: flex;
    flex-direction: column;
    width: 148px;
    overflow: scroll;
    &-item {
      display: flex;
      align-items: center;
      &-active {
        position: relative;
        > span {
          color: var(--primary-color) !important;
        }
        &::before {
          content: "";
          left: -10px;
          width: 2px;
          height: 12px;
          background: var(--primary-color);
          position: absolute;
        }
      }
      &-image-container {
        background-image: url(../../assets/maven.svg);
        width: 32px;
        height: 26px;
        line-height: 24px;
        text-align: center;
      }
      img {
        height: 18px;
      }
      > span {
        font-size: 13px;
        font-weight: 400;
        margin-left: 8px;
        color: var(--text-color);
        max-width: 80px;
        overflow: hidden;
        text-overflow:ellipsis;
        white-space: nowrap;
      }
    }
    &-item + &-item {
      margin-top: 24px;
    }
  }
  &-container {
    height: 100%;
    border-left: 1px solid var(--divider);
    width: 184px;
    padding: 15px;
    flex: 1;
    overflow-y: scroll;
    > section {
      padding-bottom: 20px;
    }
    > section + section {
      border-top: 1px solid var(--divider);
      padding-top: 20px;
    }
  }
}
